package indi.woniu.service.impl;

import indi.woniu.entity.StudentAnswer;
import indi.woniu.mapper.StudentAnswerDao;
import indi.woniu.service.StudentAnswerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentAnswerServiceImpl implements StudentAnswerService {
    @Autowired(required = false)
    private StudentAnswerDao studentAnswerDao;
    @Override
    public int saveAnswer(StudentAnswer studentAnswer) {
      int i =  studentAnswerDao.saveAnswer(studentAnswer);
      return i;
    }
}
